AmeliaBooking\Application\Services\Reservation\AppointmentReservationService D

Total Complexity 205
Dependencies 36
Dependents 0
Total lines 1,483
Lines of code 959
Logical lines of code 338
Comment lines 264
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
22
41 196
book()
D
26
38 145
getWooCommerceData()
C
29 26 118
updateStatus()
B
36 17 80
checkLimitsPerCustomer()
A
46 15 38
getReservationByPayment()
A
34 10 97
getWooCommerceDataFromArray()
A
40 7 63
getBookingResultByBookingId()
A
40 7 61
updateWooCommerceOrder()
A
49 9 31
hasDoubleBookings()
S
56 7 19
getReservationPaymentAmount()
S
50 6 30
getCustomFieldsJsonForService()
S
57 6 16
isDoubleBooking()
S
52 5 26
getBookingPeriods()
S
54 5 21
isExtraAggregatedPrice()
S
75 2 4
getReservationByBookingId()
S
75 1 4
isAggregatedPrice()
S
81 1 3
getBookableEntity()
S
74 1 4
getType()
S
82 1 3